package com.hskn.hss.module.bigscreen.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "获取异常列表数据接口-TO", description = "获取异常列表数据接口-TO")
public class ExpListTO implements Serializable {

    @ApiModelProperty(value = "异常名称", name = "expName")
    private String expName;

    @ApiModelProperty(value = "类型", name = "type")
    private String type;

    @ApiModelProperty(value = "设施大类id", name = "maxTypeId")
    private String maxTypeId;

    @ApiModelProperty(value = "设施小类id", name = "typeId")
    private String typeId;

    @ApiModelProperty(value = "日期", name = "date", required = true)
    @NotNull(message = "日期不能为空")
    @NotBlank(message = "日期不能为空")
    private String date;
}
